import request from '@/utils/request'

export function getApiThroughPageList(params) {
  return request({
    url: '/api/app/through-record/page-list',
    method: 'get', 
    params
  })
}
export function getApiThroughRecordData(id) {
  return request({
    url: `/api/app/through-record/${id}/through-record-data`,
    method: 'get',
  })
}

export function insertApiTrough(data)
{
  return request({
    url: '/api/app/through-record/ed-through-record',
    method: 'post',
    data
  }
  )
}


// export function addRole(data) {
//   return request({
//     url: '/vue-element-admin/role',
//     method: 'post',
//     data
//   })
// }

